package com.gdpu.pbss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gdpu.pbss.DTO.UserDto;
import com.gdpu.pbss.common.Result;
import com.gdpu.pbss.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService extends IService<User> {

    List<User> getAllUser();

    Boolean updateUser(User user);

    int deleteUser( Integer userId);

    UserDto login(UserDto userDto);
     User register(UserDto userDto);
}
